package com.blog.back.dao.ext;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author codeDorado
 * @version 1.0
 * @date 2020/8/18 8:35
 */
@Mapper
public interface ArticleInfoExtMapper {
    @Update("update article_info set info_hits = info_hits + 1 where article_id = #{ArticleId} ")
    void updateInfoHit(@Param("ArticleId") Long id);
}
